using MemoryPack;

namespace WebApplication1;

[MemoryPackable]
public sealed partial class LoginRequest() : RpcPackageWithIdentifier(CommandKey.Login)
{
    public string Username { get; set; }

    public string Password { get; set; }
}

[MemoryPackable]
public sealed partial class LoginResponse() : RpcRespPackageWithIdentifier(CommandKey.LoginAck)
{
}